package com.asset.dispoal.file.replyDetail.api;

import com.asset.dispoal.file.replyDetail.dto.FileReplyExportRequest;
import com.asset.dispoal.file.replyDetail.dto.FileReplyMonthDetailStatistics;
import com.asset.dispoal.file.replyDetail.dto.FileReplyQueryRequest;
import com.asset.dispoal.file.replyDetail.dto.FileReplyRequest;
import com.asset.dispoal.file.replyDetail.dto.FileReplyYearDetailStatistics;
import tech.mhuang.pacebox.springboot.protocol.Result;

import javax.servlet.http.HttpServletResponse;

public interface FileReplyDetailService {

    Result page(FileReplyQueryRequest request);

    Result save(FileReplyRequest request);

    Result modify(FileReplyRequest request);

    Result delete(String id);

    void uploadExcel(String filepath);

    Result<FileReplyMonthDetailStatistics> monthDetailStatistics();

    Result<FileReplyYearDetailStatistics> yearDetailStatistics(int year);

    void export(HttpServletResponse response, FileReplyExportRequest request);
}
